//
//  photosModel.m
//  PhotoCircle
//
//  Created by wujungao on 12/25/15.
//  Copyright © 2015 wujungao. All rights reserved.
//

#import "photosModel.h"

@implementation photosModel

-(instancetype)initPhotosModelWithDict:(NSDictionary *)dict{
    
    self=[super init];
    if(self){
        
        [self configModelWithDict:dict];
    }
    
    return self;
}

-(void)configModelWithDict:(NSDictionary *)dict{
    
    self.title=dict[@"title"];
    self.imageUUID=dict[@"uuid"];
    self.imageURL=dict[@"image"];
    self.desc=dict[@"desc"];
}

@end
